laydate({
	elem: "#startdate"
});
laydate({
	elem: "#enddate"
});

document.getElementsByClassName("goinput")[0].onclick=function(e){
	e= e|| window.event;
	var tar= e.target,
		tag= tar.tagName;
	if(tag=="P"){
		tar.childNodes[0].checked= "true";
	}else if(tag=="INPUT"){
		tar.checked= "true";
	}else{
		console.log("点击元素不可取");
	}
}